import request from '@/utils/request';

export async function queryCredits(data) {
  return request(PORTAL_PATH + '/api/qianzhuang/credits', {
    method: 'GET',
    data,
  });
}


export async function apply(data) {
  return request(PORTAL_PATH + '/api/credit', {
    method: 'POST',
    requestType: 'form',
    data: data,
  });
}
